java print boolean with spaces

43

check if a char is a space java -

if (c == ' ')

java print boolean with spaces -

System.out.printf("'%b', '%6b', '%.4b'%n", true, false, true);

Comments

Submit
0 Comments